Skip to main content

All Questions

2votes
4answers
812views

Microservices shared end-to-end testing: Which version(s) of other microservices to use?

Introduction I am reading Building Microservices (second edition) by Sam Newman. In chapter 9 the author highlights 2 problems when desiging end-to-end testing for microservices: Which version of the ...
BARJ's user avatar
  • 131
4votes
1answer
195views

I'm adding Windows Home support to my client application. How can I perform automated testing?

My team and I publish a client app as part of our solution. It includes a CLI but there are other components as well. Currently most of us develop locally on MacOS, and as part of our CI/CD we have a ...
data princess's user avatar
0votes
3answers
1kviews

Improve CI process by testing against docker image and fail docker build if test fails

Our CI process goes as this cycle (I think it is quite normal), unit test => build docker image => run function test against the image => if test fails remove the failed docker image, figure ...
Qiulang 邱朗's user avatar
0votes
2answers
494views

How to reset state of exernal services when running Acceptance tests

What are the generic patterns and best practices for resetting state of a database, storage, external service, etc, in Acceptance Tests? I'm struggling with spaghetti, living in acceptance tests. It ...
berkes's user avatar
0votes
2answers
154views

Platform that converts Documentation into Unit/Integration Tests? [closed]

I've seen many SO questions around auto-generating unit tests, or documenting unit tests, but I'd like to go the reverse direction. What I'd REALLY like is to have folks (devs, tech writers, etc) ...
aronchick's user avatar
3votes
1answer
714views

Setting up tests and a continuous integration pipeline in a polyrepo environment

In the past I've mainly worked with monorepos, specifically a Vue.js app that was served by a rails backend. Setting up E2E/integration tests in the CI was simple, because all the required parts were ...
Johannes Stricker's user avatar
0votes
2answers
193views

What is the current definition of continuous integration?

It seems that there are at least two possible definitions of continuous integration: Frequent merging of a codebase to a common codebase (e.g. daily merge to the main branch of a VCS server). ...
Géry Ogam's user avatar
69votes
5answers
24kviews

Is the usage of random values in unit testing a good practice? [duplicate]

Having worked in complex solutions that had Unit Tests and Integration Test in the CI/CD pipeline, I recall having a tough time with tests that failed randomly (either due to random values being ...
Vinicius Scheidegger's user avatar
3votes
2answers
1kviews

Integration Testing Stripe Payments - stripe-mock or Stripe's test mode?

I'm building an automated test suite to integration/feature test my organization's Stripe implementation within a GitLab CI pipeline. We're running Laravel 8 and using phpunit for testing. Within this ...
Oliver Lewis's user avatar
0votes
1answer
449views

How to make the tests run faster?

I develop my current project with a very strict approach to TDD and try to make it as close to Kent Beck's TDD By Example book. So right now I've got code coverage of 93%, with 1290 unit test cases, ...
Bawenang Rukmoko Pardian Putra's user avatar
1vote
2answers
265views

Automating performance tests for python code in a CI

My apologies in advance for a question that might seem trivial - I am a mostly solo dev in academic environment and a lot of industry best practices don't necessarily make it here. Several of my ...
Andrei Kucharavy's user avatar
4votes
1answer
442views

Efficiently updating a common repository used by multiple other repositories

Suppose we have a project consisting of many microservices, all of which use a common library. The common library has been put into a separate git repository, and each microservice is also in its own ...
Robin Green's user avatar
2votes
1answer
1kviews

Which git workflow for micro-services and testing

I would like to know what best practices exists out there with regard to micro services, CI/CD, testing and Git workflow, especially the way of working given the constraints that a) nothing should ...
Tomas's user avatar
0votes
2answers
106views

How to address a common problem with automated testing on remote machine

CI/CD options such as bitbucket pipelines and github actions make use of virtual machines called runners. Changes in source code trigger the runners, which in turn trigger a set of commands. The ...
user32882's user avatar
-3votes
3answers
551views

How do you test that an API wasn't broken by a change?

I have an infrastructure package that multiple projects depend upon. This package is supposed to be a stable API shared by those projects. I want to know if a change made in the package has broken ...
Ziv's user avatar
  • 3,096

153050per page
close